/* eslint-disable @typescript-eslint/no-var-requires */
module.exports = {
  inject: false,
  extract: true,
  plugins: [
    require('cssnano')({
      preset: 'default',
    }),
    require('postcss-nested'),
    require('postcss-preset-env')({
      browsers: ['last 2 versions', '> 5%', 'Android >= 4.1', 'ios >= 8'],
    }),
    require('postcss-plugin-px2rem')({
      rootValue: 37.5,
      unitPrecision: 5,
      selectorBlackList: [],
      ignoreIdentifier: false,
      replace: true,
      mediaQuery: false,
      minPixelValue: 1,
    }),
  ],
};
